[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants
authorAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 25 Jul 2025 05:16:52 +0000 (08:16 +0300)
committerNoah Meyerhans <noahm@debian.org>
Fri, 6 Mar 2026 14:36:28 +0000 (09:36 -0500)
commit4acf842670a24e6c84cd126d142a6ab1f68a1369
tree42c76a77d1cf02f65e52eca9457197d98c5315b4
parentcdaa15191ee7eb93d28af304c92c9c8a88db432f
[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants

Fixes cache key issue where users would end up overwriting
each other in cache due to cache key being essentially static
string because we no longer support %u.

Forgotten in 2e298e7ee98b6df61cf85117f000290d60a473b8

Gbp-Pq: Name auth__Use_AUTH_CACHE_KEY_USER_instead_of_per-database.patch
src/auth/auth-settings.h
src/auth/passdb-bsdauth.c
src/auth/passdb-oauth2.c
src/auth/passdb-pam.c
src/auth/passdb-passwd.c
src/auth/userdb-passwd.c